package io.bdmc.modules.sys.service.impl;

import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.sys.mapper.SysLogMapper;
import io.bdmc.modules.sys.entity.SysLog;
import io.bdmc.modules.sys.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> implements SysLogService {
	@Autowired
	private SysLogMapper logMapper;

	@Override
	@DataFilter(tableAlias = "d", user = false)
	public MyPage<SysLog> queryList(MyPage<SysLog> myPage,String key){
		return logMapper.queryList(myPage,key);
	}
}
